tang: make sure output and errors are logged to system log
authorThomas Winkler <[email protected]>
Mon, 15 Dec 2025 05:39:41 +0000 (06:39 +0100)
committerNikos Mavrogiannopoulos <[email protected]>
Mon, 15 Dec 2025 07:40:49 +0000 (08:40 +0100)
Currently, there is no logging at all, causing difficulties with
troubleshooting. Edit originally proposed by @q-b #26076
(comment) and implemented by @rugk #27401

Signed-off-by: Thomas Winkler <[email protected]>
utils/tang/files/tang.init

index 7843928239ebc4fa0bda5b01666e113bfe2401e2..c87197b37a2946e1924ee8ab92c422cb6de8580a 100644 (file)
@@ -21,5 +21,7 @@ start_service() {
        procd_set_param command /usr/sbin/tangd -p "${port}" -l /usr/share/tang/db
        procd_set_param respawn
        procd_set_param user tang
+       procd_set_param stderr 1
+       procd_set_param stdout 1
        procd_close_instance
 }